


#import "YTKRequest.h"

typedef NS_ENUM(NSInteger, RegisterApiMethod) {
    /** Progress is shown using an UIActivityIndicatorView. This is the default. */
    RequestMethodGet = 0,
    RequestMethodPost,
    RequestMethodHead,
    RequestMethodPut,
    RequestMethodDelete,
    RequestMethodPatch
};


@interface YTKNetHandle : YTKRequest


- (id)initWithUrl:(NSString *)url header:(NSDictionary *)header RegisterApiMethod:(RegisterApiMethod)registerApiMethod;



- (id)initWithUrl:(NSString *)url paramDic:(NSDictionary *)paramDic RegisterApiMethod:(RegisterApiMethod)registerApiMethod;

- (id)initWithUrl:(NSString *)url RegisterApiMethod:(RegisterApiMethod)registerApiMethod;

@end